package com.zjitc.service;

import com.zjitc.model.Order;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/15 17:01
 * @description:
 */
public interface OrderService {

  void add(Order order);

  List<Order> findByUid(String uid, Integer pageNum);

  void delete(String oid);

  Order findByOid(String oid);

  void payForUpdateOid(String oid);

  List<Order> findAllOrders(Integer pageNum, Integer count);

  List<Order> findAllByState(Integer state, Integer pageNum, Integer count);

  void updateRefund(String oid);
}
